﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>Microwave: com.stateforge.statemachine.examples.microwave.Microwave Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                Examples using state machines generated by StateBuilderJava
            </h1>
            <h3>
                Microwave: com.stateforge.statemachine.examples.microwave.Microwave Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacecom.html">com</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge.html">stateforge</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge_1_1statemachine.html">statemachine</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge_1_1statemachine_1_1examples.html">examples</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave.html">microwave</a>      </li>
      <li class="navelem"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html">Microwave</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">com.stateforge.statemachine.examples.microwave.Microwave Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="com::stateforge::statemachine::examples::microwave::Microwave" -->
<p><a href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#a26f9d5bb471c308d12e9d0b798028e6c">Microwave</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#a846dc09dd5641bb83c19e1502476afd4">evTurnOn</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#a1c67ff39fc0c7102081000748930ff80">evTurnOff</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adb6b5f259cc4a0c46fcb0c416310fca2">evCookingDone</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#af4f1c9b0b90b05e8929d3c6dcf86d2ec">evDoorClosed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#a61c7f4a20314213c45f32c66db588642">evDoorOpened</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#ae7393fc9812550e8a9075a18c890a392">evStart</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#ab5e28186d443a7933c82a08651c4f12c">main</a> (String[] args)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave_action.html">MicrowaveAction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#ac4787847f3c40e7d4f000b5962679226">action</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">MicrowaveContext&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html">Microwave</a> </p>

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00009">9</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a26f9d5bb471c308d12e9d0b798028e6c"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::Microwave" ref="a26f9d5bb471c308d12e9d0b798028e6c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">com.stateforge.statemachine.examples.microwave.Microwave.Microwave </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00014">14</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                          {
                this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#ac4787847f3c40e7d4f000b5962679226">action</a> = <span class="keyword">new</span> MicrowaveAction();
                this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a> = <span class="keyword">new</span> MicrowaveContext(this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#ac4787847f3c40e7d4f000b5962679226">action</a>);
                this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.setObserver(ObserverConsole.getInstance());
        }
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adb6b5f259cc4a0c46fcb0c416310fca2"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::evCookingDone" ref="adb6b5f259cc4a0c46fcb0c416310fca2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.microwave.Microwave.evCookingDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00028">28</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                                {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.evCookingDone();
    }
</pre></div>
</div>
</div>
<a class="anchor" id="af4f1c9b0b90b05e8929d3c6dcf86d2ec"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::evDoorClosed" ref="af4f1c9b0b90b05e8929d3c6dcf86d2ec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.microwave.Microwave.evDoorClosed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00032">32</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                               {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.evDoorClosed();
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a61c7f4a20314213c45f32c66db588642"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::evDoorOpened" ref="a61c7f4a20314213c45f32c66db588642" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.microwave.Microwave.evDoorOpened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00036">36</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                               {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.evDoorOpened();
    }
</pre></div>
</div>
</div>
<a class="anchor" id="ae7393fc9812550e8a9075a18c890a392"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::evStart" ref="ae7393fc9812550e8a9075a18c890a392" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.microwave.Microwave.evStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00040">40</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                          {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.evStart();
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a1c67ff39fc0c7102081000748930ff80"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::evTurnOff" ref="a1c67ff39fc0c7102081000748930ff80" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.microwave.Microwave.evTurnOff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00024">24</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                            {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.evTurnOff();
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a846dc09dd5641bb83c19e1502476afd4"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::evTurnOn" ref="a846dc09dd5641bb83c19e1502476afd4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.microwave.Microwave.evTurnOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00020">20</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">                               {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">context</a>.evTurnOn();
    }
</pre></div>
</div>
</div>
<a class="anchor" id="ab5e28186d443a7933c82a08651c4f12c"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::main" ref="ab5e28186d443a7933c82a08651c4f12c" args="(String[] args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void com.stateforge.statemachine.examples.microwave.Microwave.main </td>
          <td>(</td>
          <td class="paramtype">String[]&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00044">44</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;Microwave&quot;</span>);
        <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#a26f9d5bb471c308d12e9d0b798028e6c">Microwave</a> microwave = <span class="keyword">new</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#a26f9d5bb471c308d12e9d0b798028e6c">Microwave</a>();
        microwave.evStart();
        microwave.evDoorOpened();
        microwave.evTurnOn();
        microwave.evDoorClosed();
        microwave.evDoorClosed();
        microwave.evCookingDone();
        microwave.evDoorOpened();
        microwave.evTurnOff();
        microwave.evDoorOpened();
        microwave.evTurnOn();
        microwave.evDoorClosed();        
    }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ac4787847f3c40e7d4f000b5962679226"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::action" ref="ac4787847f3c40e7d4f000b5962679226" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave_action.html">MicrowaveAction</a> <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#ac4787847f3c40e7d4f000b5962679226">com.stateforge.statemachine.examples.microwave.Microwave.action</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00011">11</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>

</div>
</div>
<a class="anchor" id="adef40f60d3ea173a8223726a1cfcacb7"></a><!-- doxytag: member="com::stateforge::statemachine::examples::microwave::Microwave::context" ref="adef40f60d3ea173a8223726a1cfcacb7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MicrowaveContext <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1microwave_1_1_microwave.html#adef40f60d3ea173a8223726a1cfcacb7">com.stateforge.statemachine.examples.microwave.Microwave.context</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_8java_source.html#l00012">12</a> of file <a class="el" href="_microwave_8java_source.html">Microwave.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/java/com/stateforge/statemachine/examples/microwave/<a class="el" href="_microwave_8java_source.html">Microwave.java</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
